package com.danco.training.zaneuskaya.repository;

import java.util.List;

import org.hibernate.HibernateException;

import com.danco.training.zaneuskaya.domain.Job;
import com.danco.training.zaneuskaya.domain.User;

/**
 * @author Zaneuskaya Aliaksandra
 *
 */
public interface JobDao extends GenericDao<Job, Integer> {

	public List<Job> findJobsByUser(User user) throws HibernateException;

	public List<Job> findJobsByCompanyTitle(String title)
			throws HibernateException;

	public List<Job> findJobsByUserPositionCompanyTitle(User user,
			String position, String title) throws HibernateException;

}
